Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use internals for getting block/entity counts #10679

Closed
wants to merge 1 commit into from

Conversation

electronicboy
Copy link
Member

For a long time I've been meaning to move some of this logic internally as this would allow us to avoid hitting systems like block state snapshots which can create issues as many of the spigot implementations of this stuff are increasingly broken, leading to unexpected crashes during ticking, even if the API cannot properly interact with these such states/items, it's generally more preferable to not crash the server in the course, and just let those interactions fail more gracefully.

@electronicboy electronicboy marked this pull request as ready for review May 9, 2024 13:14
@electronicboy electronicboy requested a review from a team as a code owner May 9, 2024 13:14
For a long time I've been meaning to move some of this logic internally
as this would allow us to avoid hitting systems like block state snapshots
which can create issues as many of the spigot implementations of this
stuff are increasingly broken, leading to unexpected crashes during ticking,
even if the API cannot properly interact with these such states/items,
it's generally more preferable to not crash the server in the course,
and just let those interactions fail more gracefully.
@electronicboy
Copy link
Member Author

forced pushed to better deal with the wrong base so I can reduce the diff noise induced

@Machine-Maker
Copy link
Member

I think we can probably just close this right? All this is timings-related diff and we're just gonna remove timings.

@lynxplay
Copy link
Contributor

lynxplay commented Oct 12, 2024

With spark merged, timings disabled by default now and deprecated for future removal in #11128, I'll close this PR, sorry cat </3

@lynxplay lynxplay closed this Oct 12, 2024
@kennytv kennytv deleted the timings/use-internals branch October 12, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

5 participants